package com.oracle.pojo;

import java.util.Date;

public class Role {
    private Integer id;

    private String roleName;

    private String roleCode;

    private Integer state;

    private Date createTime;

    private Integer creator;

    public Role(Integer id, String roleName, String roleCode, Integer state, Date createTime, Integer creator) {
        this.id = id;
        this.roleName = roleName;
        this.roleCode = roleCode;
        this.state = state;
        this.createTime = createTime;
        this.creator = creator;
    }

    public Role() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode == null ? null : roleCode.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreator() {
        return creator;
    }

    public void setCreator(Integer creator) {
        this.creator = creator;
    }
}